#ifndef CPPLEARN_MCLASS_H
#define CPPLEARN_MCLASS_H

class MClass {
    friend void outclass_print(const MClass &a);
    friend void increment(MClass &a);
public:
    int a = 0;

    static double d;

    MClass() = default;
    MClass(int _x, int _y, int _z);

    void inclass_print() const;
private:
    int x = 1;
    int y = 2;
    int z = 3;
};

void outclass_print(const MClass& a);
void increment(MClass& a);
double get_static_d();
int get_public_a(MClass& a);

#endif //CPPLEARN_MCLASS_H
